﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Joyintech.Model.inpiao365;
using Joyintech.BLL.inpiao365;

namespace Joyintech.Web.inpiao365.PhenixTicket
{
    /// <summary>
    /// islogin 的摘要说明
    /// </summary>
    public class islogin : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            customer currentCustomer = customer_BLL.GetInstance().GetCurrentCustomer();
            if (currentCustomer == null)
            {
                context.Response.Write("n");
            }
            else
            {
                context.Response.Write("y");
            }
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}